﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shop.Model.Entity.Use
{
    ///<summary>
    /// 上级变化日志
    ///</summary>
    [SugarTable("use_change_superior_log"), TenantAttribute("usr")]
    public class ChangeSuperiorLog : BaseEntity
    {
        /// <summary>
        /// Desc:用户ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public long UserId { get; set; }

        /// <summary>
        /// Desc:变化前的用户ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public long ChangeBeforeUser { get; set; }

        /// <summary>
        /// Desc:变化后的用户ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public long ChangeLaterUser { get; set; }

        /// <summary>
        /// Desc:备注
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Desc { get; set; }

        /// <summary>
        /// Desc:操作人
        /// Default:
        /// Nullable:False
        /// </summary>           
        public long Operation { get; set; }

        /// <summary>
        /// Desc:变化时间
        /// Default:
        /// Nullable:False
        /// </summary>  
        [SugarColumn(IsOnlyIgnoreInsert = true)]
        public DateTime CeateTime { get; set; }
    }
}
